package com.example.demo.friendship.dao.mongdb;

import com.example.demo.friendship.model.mongodb.FriendRelation;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface FriendRelationDao extends MongoRepository<FriendRelation,String> {

    List<FriendRelation> findByFriendLeft_FbIdAndAndFriendRight_FbId(String left,String right);

}
